pragma Singleton
import QtQuick 2.6
import QtQuick.Window 2.0

QtObject {
    id:root
    default property double ratio: 1

    property double font18: 18 * ratio
    property double font26: 26 * ratio
    property double font32: 32 * ratio
    property double font34: 34 * ratio
    property double font48: 48 * ratio

    property double smallFont: font18
    property double normalFont: font26
    property double titleFont: font32
    property double largeFont: font34
    property double superLargeFont: font48

    property double elementInterval: 10 * ratio

    property PixelSize_Keyboard keyboard: PixelSize_Keyboard {ratio:root.ratio}

    property PixelSize_AdvPost advPost :PixelSize_AdvPost {ratio:root.ratio}
    property PixelSize_ClassicalPost classicalPost :PixelSize_ClassicalPost {ratio:root.ratio}
    property PixelSize_Comment comment :PixelSize_Comment {ratio:root.ratio}
    property PixelSize_Login login :PixelSize_Login {ratio:root.ratio}
}
